package com.xbongbong.pro.domain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

/**
 * @author 吴峰
 * @date 2020/09/22 11:19
 */
@Getter
@Setter
@ToString
public class UpdateSubDataEntity implements Serializable {

    private static final long serialVersionUID = -8391515201778544658L;

    /**
     * 子表单id
     */
    private Long subDataId;

    /**
     * 主表id
     */
    private Long parentId;

    /**
     * 子表单的数据 [{"key": "$.text_1", "esKey": "data.text_1", "value": ""}]
     */
    private List<UpdateDataValueEntity> subDataList;

    /**
     * 子表单attr值
     */
    private String attr;

    /**
     * 表单id
     */
    private Long formId;
}
